<script lang="ts" setup>
import { NDataTable, NSpace } from 'naive-ui';
import type { DataTableColumns } from 'naive-ui';
import { markRaw } from 'vue';
const columns = markRaw<DataTableColumns>([
  {
    key: 'date',
    title: '时间',
  },
  {
    key: 'height',
    title: '身高(cm)',
  },
  {
    key: 'weight',
    title: '体重(g)',
  },
]);
</script>
<template>
  <NSpace>
    <NDataTable style="width: 100%" :columns="columns"></NDataTable>
  </NSpace>
</template>
